package com.bwie.service;

import com.bwie.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient(value = "day0619-user")
public interface IuserService {
    @ApiOperation("用户抽奖和积分")
    @PostMapping("/user/user/joinActiveSubScore/{userId}/{score}")
    public R joinActiveSubScore(@PathVariable("userId")Integer userId, @PathVariable("score")Integer score);
}
